package org.pearl.oauth2.authorizationserverdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 刷新令牌
 * </p>
 *
 * @author td
 * @since 2021-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OauthRefreshToken对象", description="刷新令牌")
public class OauthRefreshToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "刷新令牌MD5加密")
    private String tokenId;

    @ApiModelProperty(value = "OAuth2RefreshToken.java对象序列化后的二进制数据")
    private Blob token;

    @ApiModelProperty(value = "OAuth2Authentication.java对象序列化后的二进制数据")
    private Blob authentication;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
